Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 4 - Advanced Printing Features / Advanced Printing Features Reference


The Status Resource

You need to include a status resource, of type gxStatusType, to define the status messages that are displayed during the printing process. Figure 4-3 shows the structure of the status resource.

Figure 4-3 The status resource

The status resource contains a count of the status entries and an array of status definitions.

Each status definition contains four values:

Most of the status types produce side effects. For example, if you send a status message with status type gxSpoolingPageStatus, the page count is incremented in the spooling status that is displayed on the user's screen. Table 4-8 shows the status type constants and the side effects associated with each.
Table 4-8 Status types
ConstantValueExplanation of side effects
gxNonFatalError1Affects the icon that is displayed during spooling
gxFatalError2Displays a printing alert during spooling
gxPrinterReady3Signals that alert mode is done
gxUserAttention4Signals initiation of a modal alert
gxUserAlert5Signals initiation of a printing alert
gxPageTransmission6Signals that a page has been sent to the printer and increments the printed page count
gxOpenConnectionStatus7Signals that animation of the printer icon is to begin
gxInformationalStatus8Displays an informational status message and continues
gxSpoolingPageStatus9Signals that a page has been spooled and increments the spooled page count
gxEndStatus10Signals the end of spooling
gxPercentageStatus11Signals the percentage of the current print job that is currently complete


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help